package org.mixed.core.annotation;

import org.mixed.core.enums.MessageType;

import java.lang.annotation.*;

/**
 * WebSocket 消息
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Message {

	/**
	 * @return 消息类型
	 */
	MessageType value();
}
